package Base;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the messages_erreur database table.
 * 
 */
@Entity
@Table(name="messages_erreur")
public class MessagesErreur implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int idMessage;

	private int codeMessage;

	private String commentaireMessage;

    @Temporal( TemporalType.DATE)
	private Date dateMessage;

	private byte etatMessage;

    public MessagesErreur() {
    }

	public int getIdMessage() {
		return this.idMessage;
	}

	public void setIdMessage(int idMessage) {
		this.idMessage = idMessage;
	}

	public int getCodeMessage() {
		return this.codeMessage;
	}

	public void setCodeMessage(int codeMessage) {
		this.codeMessage = codeMessage;
	}

	public String getCommentaireMessage() {
		return this.commentaireMessage;
	}

	public void setCommentaireMessage(String commentaireMessage) {
		this.commentaireMessage = commentaireMessage;
	}

	public Date getDateMessage() {
		return this.dateMessage;
	}

	public void setDateMessage(Date dateMessage) {
		this.dateMessage = dateMessage;
	}

	public byte getEtatMessage() {
		return this.etatMessage;
	}

	public void setEtatMessage(byte etatMessage) {
		this.etatMessage = etatMessage;
	}

}